<template>
  <div>
    <el-row :gutter="15">
      <el-form ref="elForm" :model="formData" :rules="rules" size="medium" label-width="100px">
        <el-col :span="24">
          <el-form-item label-width="78px" label="筛查员:" prop="screener_pst_med_his">
            <el-input v-model="formData.screener_pst_med_his" placeholder="请输入筛查员" clearable :style="{width: '100%'}">
            </el-input>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label-width="106px" label="脑血管病史:" prop="cereb_his">
            <el-radio-group v-model="formData.cereb_his" size="medium">
              <el-radio v-for="(item, index) in cereb_hisOptions" :key="index" :label="item.value"
                :disabled="item.disabled">{{item.label}}</el-radio>
            </el-radio-group>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label-width="120px" label="脑血管病类型:" prop="cereb_type">
            <el-checkbox-group v-model="formData.cereb_type" size="medium">
              <el-checkbox v-for="(item, index) in cereb_typeOptions" :key="index" :label="item.value"
                :disabled="item.disabled">{{item.label}}</el-checkbox>
            </el-checkbox-group>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label-width="92px" label="发病次数:" prop="cereb_num">
            <el-input v-model="formData.cereb_num" placeholder="请输入发病次数" clearable
              :style="{width: '100%'}">
              <template slot="append">次</template>
            </el-input>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label-width="130px" label="缺血性发作次数" prop="ischemia_num">
            <el-radio-group v-model="formData.ischemia_num" size="medium">
              <el-radio v-for="(item, index) in ischemia_numOptions" :key="index" :label="item.value"
                :disabled="item.disabled">{{item.label}}</el-radio>
            </el-radio-group>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label-width="116px" label="首次发病时间" prop="ischemia_firstdate">
            <el-date-picker v-model="formData.ischemia_firstdate" format="yyyy-MM-dd"
              value-format="yyyy-MM-dd" :style="{width: '100%'}" placeholder="请选择首次发病时间" clearable>
            </el-date-picker>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label-width="116px" label="末次发病时间" prop="ischemia_lastdate">
            <el-date-picker v-model="formData.ischemia_lastdate" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
              :style="{width: '100%'}" placeholder="请选择末次发病时间" clearable></el-date-picker>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label-width="130px" label="出血性发作次数" prop="hemor_num">
            <el-radio-group v-model="formData.hemor_num" size="medium">
              <el-radio v-for="(item, index) in hemor_numOptions" :key="index" :label="item.value"
                :disabled="item.disabled">{{item.label}}</el-radio>
            </el-radio-group>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label-width="116px" label="首次发病时间" prop="hemor_firstdate">
            <el-date-picker v-model="formData.hemor_firstdate" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
              :style="{width: '100%'}" placeholder="请选择首次发病时间" clearable></el-date-picker>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label-width="116px" label="末次发病时间" prop="hemor_lastdate">
            <el-date-picker v-model="formData.hemor_lastdate" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
              :style="{width: '100%'}" placeholder="请选择末次发病时间" clearable></el-date-picker>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label-width="92px" label="评估时间:" prop="mrs_date">
            <el-date-picker v-model="formData.mrs_date" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
              :style="{width: '100%'}" placeholder="请选择评估时间" clearable></el-date-picker>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label-width="78px" label="评估人:" prop="mrs_person">
            <el-input v-model="formData.mrs_person" placeholder="请输入评估人" clearable :style="{width: '100%'}">
            </el-input>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label-width="92px" label="MRS症状" prop="mrs_situation">
            <el-radio-group v-model="formData.mrs_situation" size="medium">
              <el-radio v-for="(item, index) in mrs_situationOptions" :key="index" :label="item.value"
                :disabled="item.disabled">{{item.label}}</el-radio>
            </el-radio-group>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label-width="92px" label="心脏病史:" prop="heart_his">
            <el-radio-group v-model="formData.heart_his" size="medium">
              <el-radio v-for="(item, index) in heart_hisOptions" :key="index" :label="item.value"
                :disabled="item.disabled">{{item.label}}</el-radio>
            </el-radio-group>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label-width="106px" label="心脏病类型:" prop="heart_type">
            <el-checkbox-group v-model="formData.heart_type" size="medium">
              <el-checkbox v-for="(item, index) in heart_typeOptions" :key="index" :label="item.value"
                :disabled="item.disabled">{{item.label}}</el-checkbox>
            </el-checkbox-group>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label-width="106px" label="冠心病类型:" prop="coronary_type">
            <el-checkbox-group v-model="formData.coronary_type" size="medium">
              <el-checkbox v-for="(item, index) in coronary_typeOptions" :key="index" :label="item.value"
                :disabled="item.disabled">{{item.label}}</el-checkbox>
            </el-checkbox-group>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label-width="88px" label="房颤类型" prop="atr_type">
            <el-radio-group v-model="formData.atr_type" size="medium">
              <el-radio v-for="(item, index) in atr_typeOptions" :key="index" :label="item.value"
                :disabled="item.disabled">{{item.label}}</el-radio>
            </el-radio-group>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label-width="130px" label="其他心脏病类型" prop="heart_type_other">
            <el-input v-model="formData.heart_type_other" placeholder="请输入其他心脏病类型" clearable
              :style="{width: '100%'}"></el-input>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label-width="172px" label="如有冠心病，发病次数" prop="coronary_num">
            <el-radio-group v-model="formData.coronary_num" size="medium">
              <el-radio v-for="(item, index) in coronary_numOptions" :key="index" :label="item.value"
                :disabled="item.disabled">{{item.label}}</el-radio>
            </el-radio-group>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label-width="116px" label="首次发病时间" prop="coronary_firstdate">
            <el-date-picker v-model="formData.coronary_firstdate" format="yyyy-MM-dd"
              value-format="yyyy-MM-dd" :style="{width: '100%'}" placeholder="请选择首次发病时间" clearable>
            </el-date-picker>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label-width="116px" label="末次发病时间" prop="coronary_lastdate">
            <el-date-picker v-model="formData.coronary_lastdate" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
              :style="{width: '100%'}" placeholder="请选择末次发病时间" clearable></el-date-picker>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label-width="148px" label="是否服用抗栓药物:" prop="if_antithrombotics">
            <el-radio-group v-model="formData.if_antithrombotics" size="medium">
              <el-radio v-for="(item, index) in if_antithromboticsOptions" :key="index" :label="item.value"
                :disabled="item.disabled">{{item.label}}</el-radio>
            </el-radio-group>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label-width="92px" label="用药品种:" prop="antithrombotics_type">
            <el-checkbox-group v-model="formData.antithrombotics_type" size="medium">
              <el-checkbox v-for="(item, index) in antithrombotics_typeOptions" :key="index"
                :label="item.value" :disabled="item.disabled">{{item.label}}</el-checkbox>
            </el-checkbox-group>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label-width="92px" label="用药年限:" prop="antithrombotics_year">
            <el-input v-model="formData.antithrombotics_year" placeholder="请输入用药年限" clearable
              :style="{width: '100%'}">
              <template slot="append">年</template>
            </el-input>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label-width="92px" label="用药情况:" prop="antithrombotics_situation">
            <el-radio-group v-model="formData.antithrombotics_situation" size="medium">
              <el-radio v-for="(item, index) in antithrombotics_situationOptions" :key="index"
                :label="item.value" :disabled="item.disabled">{{item.label}}</el-radio>
            </el-radio-group>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label-width="190px" label="既往有无被诊断为高血压:" prop="if_hypertension">
            <el-radio-group v-model="formData.if_hypertension" size="medium">
              <el-radio v-for="(item, index) in if_hypertensionOptions" :key="index" :label="item.value"
                :disabled="item.disabled">{{item.label}}</el-radio>
            </el-radio-group>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label-width="88px" label="确诊时间" prop="hypertension_date">
            <el-date-picker v-model="formData.hypertension_date" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
              :style="{width: '100%'}" placeholder="请选择确诊时间" clearable></el-date-picker>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label-width="148px" label="是否服用过降压药:" prop="if_antihypertensive">
            <el-radio-group v-model="formData.if_antihypertensive" size="medium">
              <el-radio v-for="(item, index) in if_antihypertensiveOptions" :key="index" :label="item.value"
                :disabled="item.disabled">{{item.label}}</el-radio>
            </el-radio-group>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label-width="92px" label="用药品种:" prop="antihypertensive_type">
            <el-checkbox-group v-model="formData.antihypertensive_type" size="medium">
              <el-checkbox v-for="(item, index) in antihypertensive_typeOptions" :key="index"
                :label="item.value" :disabled="item.disabled">{{item.label}}</el-checkbox>
            </el-checkbox-group>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label-width="92px" label="用药年限:" prop="antihypertensive_year">
            <el-input v-model="formData.antihypertensive_year" placeholder="请输入用药年限" clearable
              :style="{width: '100%'}">
              <template slot="append">年</template>
            </el-input>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label-width="95px" label="用药情况:" prop="antihypertensive_situation">
            <el-radio-group v-model="formData.antihypertensive_situation" size="medium">
              <el-radio v-for="(item, index) in antihypertensive_situationOptions" :key="index"
                :label="item.value" :disabled="item.disabled">{{item.label}}</el-radio>
            </el-radio-group>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label-width="120px" label="血压控制情况:" prop="antihypertensive_con_sit">
            <el-radio-group v-model="formData.antihypertensive_con_sit" size="medium">
              <el-radio v-for="(item, index) in antihypertensive_con_sitOptions" :key="index"
                :label="item.value" :disabled="item.disabled">{{item.label}}</el-radio>
            </el-radio-group>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label-width="204px" label="既往有无被诊断为血脂异常:" prop="if_dyslipidemia">
            <el-radio-group v-model="formData.if_dyslipidemia" size="medium">
              <el-radio v-for="(item, index) in if_dyslipidemiaOptions" :key="index" :label="item.value"
                :disabled="item.disabled">{{item.label}}</el-radio>
            </el-radio-group>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label-width="88px" label="确诊时间" prop="dyslipidemia_date">
            <el-date-picker v-model="formData.dyslipidemia_date" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
              :style="{width: '100%'}" placeholder="请选择确诊时间" clearable></el-date-picker>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label-width="120px" label="血脂异常类型:" prop="dyslipidemia_type">
            <el-checkbox-group v-model="formData.dyslipidemia_type" size="medium">
              <el-checkbox v-for="(item, index) in dyslipidemia_typeOptions" :key="index" :label="item.value"
                :disabled="item.disabled">{{item.label}}</el-checkbox>
            </el-checkbox-group>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label-width="148px" label="是否服用过调脂药:" prop="if_lipid_lowering">
            <el-radio-group v-model="formData.if_lipid_lowering" size="medium">
              <el-radio v-for="(item, index) in if_lipid_loweringOptions" :key="index" :label="item.value"
                :disabled="item.disabled">{{item.label}}</el-radio>
            </el-radio-group>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label-width="92px" label="用药品种:" prop="lipid_lowering_type">
            <el-checkbox-group v-model="formData.lipid_lowering_type" size="medium">
              <el-checkbox v-for="(item, index) in lipid_lowering_typeOptions" :key="index"
                :label="item.value" :disabled="item.disabled">{{item.label}}</el-checkbox>
            </el-checkbox-group>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label-width="190px" label="既往有无被诊断为糖尿病:" prop="if_diabetes">
            <el-radio-group v-model="formData.if_diabetes" size="medium">
              <el-radio v-for="(item, index) in if_diabetesOptions" :key="index" :label="item.value"
                :disabled="item.disabled">{{item.label}}</el-radio>
            </el-radio-group>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label-width="88px" label="确诊时间" prop="diabetes_date">
            <el-date-picker v-model="formData.diabetes_date" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
              :style="{width: '100%'}" placeholder="请选择确诊时间" clearable></el-date-picker>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label-width="148px" label="是否服用过降糖药:" prop="if_hypoglycemic">
            <el-radio-group v-model="formData.if_hypoglycemic" size="medium">
              <el-radio v-for="(item, index) in if_hypoglycemicOptions" :key="index" :label="item.value"
                :disabled="item.disabled">{{item.label}}</el-radio>
            </el-radio-group>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label-width="92px" label="用药品种:" prop="hypoglycemic_type">
            <el-checkbox-group v-model="formData.hypoglycemic_type" size="medium">
              <el-checkbox v-for="(item, index) in hypoglycemic_typeOptions" :key="index" :label="item.value"
                :disabled="item.disabled">{{item.label}}</el-checkbox>
            </el-checkbox-group>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label-width="92px" label="用药年限:" prop="hypoglycemic_year">
            <el-input v-model="formData.hypoglycemic_year" placeholder="请输入用药年限" clearable
              :style="{width: '100%'}">
              <template slot="append">年</template>
            </el-input>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label-width="92px" label="用药情况:" prop="hypoglycemic_situation">
            <el-radio-group v-model="formData.hypoglycemic_situation" size="medium">
              <el-radio v-for="(item, index) in hypoglycemic_situationOptions" :key="index"
                :label="item.value" :disabled="item.disabled">{{item.label}}</el-radio>
            </el-radio-group>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label-width="120px" label="血糖控制情况:" prop="hypoglycemic_con_sit">
            <el-radio-group v-model="formData.hypoglycemic_con_sit" size="medium">
              <el-radio v-for="(item, index) in hypoglycemic_con_sitOptions" :key="index" :label="item.value"
                :disabled="item.disabled">{{item.label}}</el-radio>
            </el-radio-group>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item size="large">
            <el-button type="primary" @click="submitForm">提交</el-button>
            <el-button @click="resetForm">重置</el-button>
          </el-form-item>
        </el-col>
      </el-form>
    </el-row>
  </div>
</template>
<script>
export default {
  components: {},
  props: [],
  data() {
    return {
      formData: {
        screener_pst_med_his: undefined,
        cereb_his: "",
        cereb_type: [],
        cereb_num: undefined,
        ischemia_num: "",
        ischemia_firstdate: null,
        ischemia_lastdate: null,
        hemor_num: "",
        hemor_firstdate: null,
        hemor_lastdate: null,
        mrs_date: null,
        mrs_person: undefined,
        mrs_situation: "",
        heart_his: "",
        heart_type: [],
        coronary_type:[],
        atr_type: undefined,
        heart_type_other: undefined,
        coronary_num: "",
        coronary_firstdate: null,
        coronary_lastdate: null,
        if_antithrombotics: "",
        antithrombotics_type: [],
        antithrombotics_year: undefined,
        antithrombotics_situation: "",
        if_hypertension: "",
        hypertension_date: null,
        if_antihypertensive: "",
        antihypertensive_type: [],
        antihypertensive_year: undefined,
        antihypertensive_situation: "",
        antihypertensive_con_sit: "",
        if_dyslipidemia: "",
        dyslipidemia_date: null,
        dyslipidemia_type: [],
        if_lipid_lowering: "",
        lipid_lowering_type: [],
        if_diabetes: "",
        diabetes_date: null,
        if_hypoglycemic: "",
        hypoglycemic_type: [],
        hypoglycemic_year: undefined,
        hypoglycemic_situation: "",
        hypoglycemic_con_sit: "",
      },
      rules: {
        screener_pst_med_his: [],
        cereb_his: [],
        cereb_type: [],
        cereb_num: [],
        ischemia_num: [],
        ischemia_firstdate: [],
        ischemia_lastdate: [],
        hemor_num: [],
        hemor_firstdate: [],
        hemor_lastdate: [],
        mrs_date: [],
        mrs_person: [],
        mrs_situation: [],
        heart_his: [],
        heart_type: [],
        coronary_type:[],
        atr_type: [],
        heart_type_other: [],
        coronary_num: [],
        coronary_firstdate: [],
        coronary_lastdate: [],
        if_antithrombotics: [],
        antithrombotics_type: [],
        antithrombotics_year: [],
        antithrombotics_situation: [],
        if_hypertension: [],
        hypertension_date: [],
        if_antihypertensive: [],
        antihypertensive_type: [],
        antihypertensive_year: [],
        antihypertensive_situation: [],
        antihypertensive_con_sit: [],
        if_dyslipidemia: [],
        dyslipidemia_date: [],
        dyslipidemia_type: [],
        if_lipid_lowering: [],
        lipid_lowering_type: [],
        if_diabetes: [],
        diabetes_date: [],
        if_hypoglycemic: [],
        hypoglycemic_type: [],
        hypoglycemic_year: [],
        hypoglycemic_situation: [],
        hypoglycemic_con_sit: [],
      },
      cereb_hisOptions: [{
        "label": "无",
        "value": 1
      }, {
        "label": "有",
        "value": 2
      }],
      cereb_typeOptions: [{
        "label": "脑梗死",
        "value": 1
      }, {
        "label": "脑出血",
        "value": 2
      }, {
        "label": "蛛网膜下腔出血",
        "value": 3
      }, {
        "label": "短暂性脑缺血发作（TIA）",
        "value": 4
      }],
      ischemia_numOptions: [{
        "label": "1次",
        "value": 1
      }, {
        "label": "2次",
        "value": 2
      }, {
        "label": "≥3次",
        "value": 3
      }],
      hemor_numOptions: [{
        "label": "1次",
        "value": 1
      }, {
        "label": "2次",
        "value": 2
      }, {
        "label": "≥3次",
        "value": 3
      }],
      mrs_situationOptions: [{
        "label": "完全无症状",
        "value": 1
      }, {
        "label": "尽管有症状，但无明显功能障碍，能完成所有日常工作和生活",
        "value": 2
      }, {
        "label": "轻度残疾，不能完成病前所有活动，但不需帮助能照顾自己的日常生活",
        "value": 3
      }, {
        "label": "中度残疾，需部分帮助，但能独立行走",
        "value": 4
      }, {
        "label": "重度残疾，不能独立行走，无他人帮助不能满足自身日常生活需求",
        "value": 5
      }, {
        "label": "严重残疾，持续卧床、二便失禁，需持续护理和关注，日常生活完全依赖他人",
        "value": 6
      }],
      heart_hisOptions: [{
        "label": "无",
        "value": 1
      }, {
        "label": "有",
        "value": 2
      }],
      heart_typeOptions: [{
        "label": "冠心病",
        "value": 1
      }, {
        "label": "房颤",
        "value": 2
      }, {
        "label": "瓣膜性心脏病",
        "value": 3
      }, {
        "label": "其他",
        "value": 4
      }, {
        "label": "具体不详",
        "value": 5
      }],
      coronary_typeOptions:[
       {
        "label": "心绞痛",
        "value": 1
      }, {
        "label": "心肌梗死",
        "value": 2
      }, {
        "label": "无症状冠脉狭窄",
        "value": 3
      }],
      atr_typeOptions: [{
        "label": "阵发型",
        "value": 1
      }, {
        "label": "持续性",
        "value": 2
      }, {
        "label": "未知",
        "value": 3
      }],
      coronary_numOptions: [{
        "label": "1次",
        "value": 1
      }, {
        "label": "2次",
        "value": 2
      }, {
        "label": "≥3次",
        "value": 3
      }],
      if_antithromboticsOptions: [{
        "label": "否",
        "value": 1
      }, {
        "label": "是",
        "value": 2
      }],
      antithrombotics_typeOptions: [{
        "label": "华法林",
        "value": 1
      }, {
        "label": "新型抗凝剂",
        "value": 2
      }, {
        "label": "阿司匹林",
        "value": 3
      }, {
        "label": "氯吡格雷",
        "value": 4
      }, {
        "label": "其他",
        "value": 5
      }],
      antithrombotics_situationOptions: [{
        "label": "规律",
        "value": 1
      }, {
        "label": "不规律",
        "value": 2
      }],
      if_hypertensionOptions: [{
        "label": "无",
        "value": 1
      }, {
        "label": "有",
        "value": 2
      }],
      if_antihypertensiveOptions: [{
        "label": "无",
        "value": 1
      }, {
        "label": "有",
        "value": 2
      }],
      antihypertensive_typeOptions: [{
        "label": "利尿药",
        "value": 1
      }, {
        "label": "钙拮抗剂",
        "value": 2
      }, {
        "label": "β受体阻滞剂",
        "value": 3
      }, {
        "label": "α受体阻滞剂",
        "value": 4
      }, {
        "label": "α，β受体阻滞剂",
        "value": 5
      }, {
        "label": "ACEI",
        "value": 6
      }, {
        "label": "ARB",
        "value": 7
      }, {
        "label": "其他",
        "value": 8
      }],
      antihypertensive_situationOptions: [{
        "label": "规律",
        "value": 1
      }, {
        "label": "不规律",
        "value": 2
      }],
      antihypertensive_con_sitOptions: [{
        "label": "达标",
        "value": 1
      }, {
        "label": "不达标",
        "value": 2
      }, {
        "label": "不清楚",
        "value": 3
      }],
      if_dyslipidemiaOptions: [{
        "label": "无",
        "value": 1
      }, {
        "label": "有",
        "value": 2
      }],
      dyslipidemia_typeOptions: [{
        "label": "高胆固醇",
        "value": 1
      }, {
        "label": "高甘油三酯",
        "value": 2
      }, {
        "label": "高 LDL-C",
        "value": 3
      }, {
        "label": "低 HDL-C",
        "value": 4
      }, {
        "label": "不详",
        "value": 5
      }],
      if_lipid_loweringOptions: [{
        "label": "无",
        "value": 1
      }, {
        "label": "有",
        "value": 2
      }],
      lipid_lowering_typeOptions: [{
        "label": "他汀类",
        "value": 1
      }, {
        "label": "贝特类",
        "value": 2
      }, {
        "label": "其他",
        "value": 3
      }],
      if_diabetesOptions: [{
        "label": "无",
        "value": 1
      }, {
        "label": "有",
        "value": 2
      }],
      if_hypoglycemicOptions: [{
        "label": "无",
        "value": 1
      }, {
        "label": "有",
        "value": 2
      }],
      hypoglycemic_typeOptions: [{
        "label": "口服降糖药",
        "value": 1
      }, {
        "label": "胰岛素",
        "value": 2
      }, {
        "label": "其他",
        "value": 3
      }],
      hypoglycemic_situationOptions: [{
        "label": "规律",
        "value": 1
      }, {
        "label": "不规律",
        "value": 2
      }],
      hypoglycemic_con_sitOptions: [{
        "label": "基本达标",
        "value": 1
      }, {
        "label": "不达标",
        "value": 2
      }, {
        "label": "不清楚",
        "value": 3
      }],
    }
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},
  methods: {
    submitForm() {
      this.$refs['elForm'].validate(function(valid) {
          if(!valid)
            return
          // TODO 提交表单
        })
    },
    resetForm() {
      this.$refs['elForm'].resetFields()
    },
  }
}

</script>
<style>
</style>
